const install = (Vue, vm) => {
	Vue.prototype.$u.http.setConfig({
		baseUrl: 'https://www.ydqiaojia.com/index.php/api', // 请求的本域名
		method: 'POST',
		dataType: 'json',
		showLoading: true,
		loadingText: '加载中...', 
		loadingTime: 800, 
		originalData: false,
		loadingMask: true,
		// 配置请求头信息
		// header: {
		// 	'content-type': 'application/json;charset=UTF-8',
		// },
	});
}
export default {
	install,
}